# ---------------------------------------------------------------------------------------------------- #
# SchnakenberFarissReplicationFiles.txt
# ---------------------------------------------------------------------------------------------------- #

 Date: 2012-08-02

 Authors: Keith Schnakenberg and Christopher Fariss

 Title: Dynamic Patterns of Human Rights Practices. 
 Available at: http://ssrn.com/abstract=1534335.
 (currently under review) 

 Contact: 
 Chris Fariss: cjf0006@gmail.com
 Keith Schnakenberg: keschnak@wustl.edu

 Copyright (c) 2012, under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
 For more information see: http://creativecommons.org/licenses/by-nc-sa/3.0/us/
 All rights reserved. 

 Data from this project is publicly available here: http://polisci2.ucsd.edu/cfariss/HumanRightsScores/About.html

 Note that the MCMC simulations take several days to finish on a server. We do not recommend running the code
 on a laptop or desktop. Please let us know if you have any questions about the code. 

# ---------------------------------------------------------------------------------------------------- #
# file folder contents
# ---------------------------------------------------------------------------------------------------- #

DOIRT-EMPOWER -- R file, model file, and inits (generated from the
alldraws files) for the DOIRT Empowerment model

OIRT-EMPOWER -- R file, model file, and inits (generated from the
alldraws files) for the OIRT Empowerment model

DOIRT-PHYSINT -- R file, model file, and inits (generated from the
alldraws files) for the DOIRT Physical Integrity model

OIRT-PHYSINT -- R file, model file, and inits (generated from the
alldraws files) for the OIRT Physical Integrity model

data -- CIRI data files

# ---------------------------------------------------------------------------------------------------- #
# install R and necessary packages for analysis
# ---------------------------------------------------------------------------------------------------- #

Note that the .Rdata files must be loaded into R.

open the .R file using any text or source code editor such as:
	TextEdit, emacs, Aquamacs, notepad++ , or Xpad

set the working directory to the folder containing the data files 

the set working directory command in R is setwd()
	type ?setwd for help documentation 

to set the path type into R: 

setwd("PATH_NAME")

where PATH_NAME is the path to the folder with the data


# ---------------------------------------------------------------------------------------------------- #
# end file
# ---------------------------------------------------------------------------------------------------- #

